#!/usr/bin/env python
#-*- coding:utf-8 -*-
# author:Administrator
# datetime:2019/9/11 17:40
# software: PyCharm
# Email:zhou.haitao@technosolutions.cn
__auther__ = "Kael"

import socket

if __name__ == '__main__':
    udp_socket = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
    local_addr = ("",5602)
    udp_socket.bind(local_addr)
    while True:
        rec_msg = udp_socket.recv(1024)
        print(rec_msg)
